package com.study.manage.dal;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.study.manage.domain.EvaluateDraft;
import com.study.manage.domain.enumm.EvaluateDraftState;

public interface EvaluateDraftRepository extends PagingAndSortingRepository<EvaluateDraft, Long> {

    Page<EvaluateDraft> findByUserOrganizaIdAndState(Long userOrganizaId, EvaluateDraftState state,
            Pageable pageable);

}
